<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>S110_nRF51822/Include/ble/softdevice/nrf_error.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css" />
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="alias.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="alias.js"></script>

<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>


<script type="text/javascript">
  jQuery(document).ready(function () {
    if(gref){ // Number all _img and _table classes
      gref();
    }
  });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->

<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">nRF51822 BLE SDK
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('nrf__error_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">S110_nRF51822/Include/ble/softdevice/nrf_error.h</div>  </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved.</span>
<a name="l00003"></a>00003 <span class="comment"> *</span>
<a name="l00004"></a>00004 <span class="comment"> * The information contained herein is confidential property of Nordic Semiconductor. The use,</span>
<a name="l00005"></a>00005 <span class="comment"> * copying, transfer or disclosure of such information is prohibited except by express written</span>
<a name="l00006"></a>00006 <span class="comment"> * agreement with Nordic Semiconductor.</span>
<a name="l00007"></a>00007 <span class="comment"> *</span>
<a name="l00008"></a>00008 <span class="comment"> */</span>
<a name="l00016"></a>00016 <span class="comment">/* Header guard */</span>
<a name="l00017"></a>00017 <span class="preprocessor">#ifndef NRF_ERROR_H__</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_H__</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00022"></a><a class="code" href="group___n_r_f___e_r_r_o_r_s___b_a_s_e.html#ga6657d0b1e8f050685ddf7d7c1d85c8e8">00022</a> <span class="preprocessor">#define NRF_ERROR_BASE_NUM      (0x0)       ///&lt; Global error base</span>
<a name="l00023"></a><a class="code" href="group___n_r_f___e_r_r_o_r_s___b_a_s_e.html#ga42709115c27b1a355561ae7060a6232f">00023</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_SDM_BASE_NUM  (0x1000)    ///&lt; SDM error base</span>
<a name="l00024"></a><a class="code" href="group___n_r_f___e_r_r_o_r_s___b_a_s_e.html#ga27c2a0b7271420a6c3f7b186543ee227">00024</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_SOC_BASE_NUM  (0x2000)    ///&lt; SoC error base</span>
<a name="l00025"></a><a class="code" href="group___n_r_f___e_r_r_o_r_s___b_a_s_e.html#gaf090abe440a1752161646079114acaaf">00025</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_STK_BASE_NUM  (0x3000)    ///&lt; STK error base</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span>
<a name="l00028"></a><a class="code" href="group__nrf__error.html#ga7e6367efeaac363d8cf024940b4ec123">00028</a> <span class="preprocessor">#define NRF_SUCCESS                           (NRF_ERROR_BASE_NUM + 0)  ///&lt; Successful command</span>
<a name="l00029"></a><a class="code" href="group__nrf__error.html#gacee74578161456da0759c7b80f55d2e0">00029</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_SVC_HANDLER_MISSING         (NRF_ERROR_BASE_NUM + 1)  ///&lt; SVC handler is missing</span>
<a name="l00030"></a><a class="code" href="group__nrf__error.html#ga9a2af1a322a5dfb3bdb69e2aacd3bc27">00030</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_SOFTDEVICE_NOT_ENABLED      (NRF_ERROR_BASE_NUM + 2)  ///&lt; Softdevice has not been enabled</span>
<a name="l00031"></a><a class="code" href="group__nrf__error.html#gadf8b0c33ea15352808e5ac7f69c2be8a">00031</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_INTERNAL                    (NRF_ERROR_BASE_NUM + 3)  ///&lt; Internal Error</span>
<a name="l00032"></a><a class="code" href="group__nrf__error.html#ga7ef4d466b79b31c6325f8b7af5d4f75f">00032</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_NO_MEM                      (NRF_ERROR_BASE_NUM + 4)  ///&lt; No Memory for operation</span>
<a name="l00033"></a><a class="code" href="group__nrf__error.html#ga349d25ada15be023e0d507f45ada682c">00033</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_NOT_FOUND                   (NRF_ERROR_BASE_NUM + 5)  ///&lt; Not found</span>
<a name="l00034"></a><a class="code" href="group__nrf__error.html#gaacf52836cc3860c5ffd4e129f725f138">00034</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_NOT_SUPPORTED               (NRF_ERROR_BASE_NUM + 6)  ///&lt; Not supported</span>
<a name="l00035"></a><a class="code" href="group__nrf__error.html#ga0a5831cf5092e0dd43a01869676ee076">00035</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_INVALID_PARAM               (NRF_ERROR_BASE_NUM + 7)  ///&lt; Invalid Parameter</span>
<a name="l00036"></a><a class="code" href="group__nrf__error.html#gaf0aff2ba7864b34a36b4a96986e1851e">00036</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_INVALID_STATE               (NRF_ERROR_BASE_NUM + 8)  ///&lt; Invalid state, operation disallowed in this state</span>
<a name="l00037"></a><a class="code" href="group__nrf__error.html#ga59fe2a8fe184005aefa0835c7ff400fd">00037</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_INVALID_LENGTH              (NRF_ERROR_BASE_NUM + 9)  ///&lt; Invalid Length</span>
<a name="l00038"></a><a class="code" href="group__nrf__error.html#ga10f61a8901fb865840da22a0792eca18">00038</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_INVALID_FLAGS               (NRF_ERROR_BASE_NUM + 10) ///&lt; Invalid Flags</span>
<a name="l00039"></a><a class="code" href="group__nrf__error.html#gaca6d57e218563351e7abdbdebb049f69">00039</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_INVALID_DATA                (NRF_ERROR_BASE_NUM + 11) ///&lt; Invalid Data</span>
<a name="l00040"></a><a class="code" href="group__nrf__error.html#ga4c61f2b54667506e90cc296721b2e658">00040</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_DATA_SIZE                   (NRF_ERROR_BASE_NUM + 12) ///&lt; Data size exceeds limit</span>
<a name="l00041"></a><a class="code" href="group__nrf__error.html#gaf3ac440fa84dedc1a80baab36da36f80">00041</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_TIMEOUT                     (NRF_ERROR_BASE_NUM + 13) ///&lt; Operation timed out</span>
<a name="l00042"></a><a class="code" href="group__nrf__error.html#gaf6e08e45224ec612e6c95660eb1bcfa0">00042</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_NULL                        (NRF_ERROR_BASE_NUM + 14) ///&lt; Null Pointer</span>
<a name="l00043"></a><a class="code" href="group__nrf__error.html#ga85125dae5d7e9d4b9964acbc13f641b3">00043</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_FORBIDDEN                   (NRF_ERROR_BASE_NUM + 15) ///&lt; Forbidden Operation</span>
<a name="l00044"></a><a class="code" href="group__nrf__error.html#gabc562e4ddfe2f427666a3acdd0b469a3">00044</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_INVALID_ADDR                (NRF_ERROR_BASE_NUM + 16) ///&lt; Bad Memory Address</span>
<a name="l00045"></a><a class="code" href="group__nrf__error.html#ga5d2d8608f6d6a0329f58961a969e946e">00045</a> <span class="preprocessor"></span><span class="preprocessor">#define NRF_ERROR_BUSY                        (NRF_ERROR_BASE_NUM + 17) ///&lt; Busy</span>
<a name="l00046"></a>00046 <span class="preprocessor"></span>
<a name="l00047"></a>00047 <span class="preprocessor">#endif // NRF_ERROR_H__</span>
<a name="l00048"></a>00048 <span class="preprocessor"></span>
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>nrf_error.h</b>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">
      Copyright &copy 2006-2011 <a href="http://www.nordicsemi.no" style="text-decoration:none">Nordic Semiconductor</a>.
      All Rights Reserved.
      <a href="disclaimer.html">Disclaimer</a>
    </li>
   </ul>
 </div>


</body>
</html>
